home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
comms
/
ts3j.zip
/
TSBASIC.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-01-04
|
1KB
|
78 lines
@echo off
rem Mon 12-12-1994 15:58:51
rem This batch file is designed to enable only very basic features
rem in Teleshare. A useful example would be using parts of Teleshare
rem with telix, procomm, ...
:start
rem you could add "Hangup" for hanging up - ensure the com port is correct tho.
mnu menu "t:Main Menu" "Dialer" "Host" "Remote" "Setup" "Manuals" "Unload" "Quit" %1
if errorlevel == 7 goto :end
REM if errorlevel == 7 goto :hangup
if errorlevel == 6 goto :unload
if errorlevel == 5 goto :help
if errorlevel == 4 goto :setup
if errorlevel == 3 goto :remote
if errorlevel == 2 goto :host
if errorlevel == 1 goto :dial
goto :end
:dial
CLS
echo .
ECHO Substitute your comm's software here.
ECHO one example would be: scomm -d
echo another would use telefile
echo .
echo Telling telix to run
telix
pause
goto :start
rem a basic hangup using DTR and command line redirection
:hangup
cls
\tele\dtr COM1: off
delay 1
echo ath0 >COM1
delay 1
rem pause
goto :start
:host
rem mapmem
rem tshost
cls
tsh
pause
goto :start
:remote
rem mapmem
rem tsrem
cls
tsr
pause
goto :start
:setup
cls
tssetup
rem pause
goto :start
:help
mnu -readme *.doc
goto :start
:unload
cls
echo Telling both tsh and tsr to unload from ram. ...
tsh u
tsr u
pause
goto :start
:end
cls